package com.abocode.aichat.validator;

import com.abocode.aichat.data.EntityImpl;

/**
 * @author guanxf
 */
public interface UserValidator <T> {

    boolean  validate(T t);

    EntityImpl entity(T t);
}
